Skip to content

Add additional default fields to _Installation class#1852

Merged
drew-gross merged 1 commit intoparse-community:masterfrom
JeremyPlease:master
May 21, 2016
Merged

Add additional default fields to _Installation class#1852
drew-gross merged 1 commit intoparse-community:masterfrom
JeremyPlease:master

Conversation

@JeremyPlease
Copy link
Copy Markdown
Contributor

@JeremyPlease JeremyPlease commented May 20, 2016

The _Installation class was missing default fields for appVersion, appName, appIdentifier, and parseVersion.

When I disabled addField class level permissions for _Installation class, iOS and Android SDKs were getting "Permission denied for this action." when creating installations because they send the above fields.

Also, I updated Schema.spec.js and MongoSchemaCollectionAdapter.spec.js to account for all default _Installtion fields.

Fields are appVersion, appName, appIdentifier, and parseVersion.
These fields are sent by Android and iOS SDKs.
@drew-gross
Copy link
Copy Markdown
Contributor

Looks good to me. Thanks!

@drew-gross drew-gross merged commit fab8cfd into parse-community:master May 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants